package org.example.dao;

import org.example.entity.Orders;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IOrdersRepository extends JpaRepository<Orders, Integer> {

    public Orders findByOrderId(Integer orderId);
    public List<Orders> findAllByUserId(String userId);




}
